package org.dromara.system.domain.bo;

import org.dromara.system.domain.SysLabel;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 系统管理-门店标签配置业务对象 sys_label
 *
 * @author LionLi
 * @date 2024-03-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysLabel.class, reverseConvertGenerate = false)
public class SysLabelBo extends BaseEntity {

    /**
     * 门店标签id
     */
    @NotNull(message = "门店标签id不能为空", groups = { EditGroup.class })
    private Long labelId;

    /**
     * 标签名称(如：门区，门区:大店)
     */
    @NotBlank(message = "标签名称(如：门区，门区:大店)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String labelName;


}
